package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.BuyerCarBean;
import com.project.bean.BuyerInfoBean;
import com.project.bean.SellInfoBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IBuyerInfoMapper extends BaseMapper<BuyerInfoBean> {

    public void addInfo(@Param("buyerId") Integer buyerId,
                        @Param(("buyerCarList")) List<BuyerCarBean> buyerCarList);

    List<BuyerInfoBean> findList(Integer id);
}
